$('#myModal').modal(options)
$('.dropdown-toggle').dropdown()


function job_job() {


      let  bumen= $(".jjl_job").val()





    $.get("/manageA/jjl_sel","bumen="+bumen,function () {
        window.location.reload();

    })


}

function jjl_insert() {

    var username=$(".jjl_username").val()
    var name=$(".jjl_name").val()
    var jt_id=$(".jjl_jt_id").val()


    let json={
        username:username,
        name:name,
        pwd:"123456",
        jt_id:jt_id,
        sex:$("#jjl_usersex").val(),
        state:1,


    }
    console.log(json)
    $.post("/manageA/jjl_insert",json,function (bo) {
        if (bo){
            alert("员工账号："+$("#exampleInputEmail1").val()+"\n员工姓名："+$("#exampleInputEmail2").val()+"\n初始密码是123456\n员工职位："+
                $("#disabledSelect").val()
                   )

        }else (    alert("员工登记失败 请重新登记")
            )


    })


}


